home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 23 / AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso / c / README < prev    next >
Text File  |  2000-01-01  |  12KB  |  214 lines

  1. kickstart/scsidisk
  2.  
  3.     A SCSIDirect command should no longer mess up scsi.device
  4.     command handling if it was handled with a BUSY status
  5.     internally. The disk size calculation returned the # of blocks
  6.     - 1. This messed up TD_GETGEOMETRY results. TD_GETGEOMETRY will
  7.     now return decent results, including the head count and
  8.     related values. R/W handling did use two's complement
  9.     arithmetic when doing mapped block handling. Ouch. scsi.device
  10.     is now a New Style Device with 64 bit trackdisk support. RDB
  11.     processing will also be able to access blocks beyond 4GB now
  12.     for whatever it's worth. scsi.device will reject lengths
  13.     now that don't match the blocksize. This finally gets rid of
  14.     the problems occuring when a 0 block count was passed as length
  15.     in a SCSI CDB, i.e. it will return an error now instead of
  16.     locking up everything.
  17.  
  18.     The IDE drive identification was pretty messed up. It did not
  19.     handle ATAPI device recognition and even set up IDE registers
  20.     wrong at certain times.
  21.  
  22.     Added ATAPI support. The polling wait code is still pretty
  23.     ugly and wastes lots of time on slower devices at the moment
  24.     because we don't have a simple way to delay for really short
  25.     times without messing up multitasking. CIA access comes to mind
  26.     but I don't like that. Well, it should work in general and it
  27.     works with my Mitsumi CD-ROM drive at the moment. The 6 Byte
  28.     READ/WRITE/SEEK/MODE commands are silently reworked into the
  29.     extended versions under the assumption that 100% of all ATAPI
  30.     devices will like the extended ones much better. Maybe this
  31.     should be changed to a a retry extended on failure type thing.
  32.  
  33.     Now I can build the A4kT scsi.device with SAS/C 6.56
  34.     _including_ the NCR script. Batteries included.
  35.     Well, actually all devices can be built now. I don't know if
  36.     they all work, though. A3k and A4k[T] devices seem to be ok.
  37.  
  38.     Geometry data will be updated as far as possible on a media
  39.     change now. Issues: What kind of data should be returned when
  40.     no medium is inserted? What about e.g. cyl/sec/head for a
  41.     CD-ROM?
  42.     Froze 43.11
  43.     Fixed a couple of problems in the ATAPI support. Now uses the
  44.     correct transfer length when setting up a command and the
  45.     removable bit should now be correctly evaluated. There was a
  46.     typo. The transfer routines were warped at times, too.
  47.     Internal command evaluation should be safer when it comes to
  48.     the 64 bit set and scsi.device should now skip non disk devices
  49.     when looking for an RDB.
  50.     Fixed a very bad stack bug with the IDE setup which definitely
  51.     killed e.g. the A600 and A1200. Removed the NSD getdrivetype
  52.     hack in anticipation of a corresponding NSD update.
  53.     Froze 43.12.
  54.     The IDE drivers should no longer access undefined memory on
  55.     bootup on an A4k. Also, battmem options should be usable now to
  56.     all hardware models if available. IDE/ATAPI hardware
  57.     recognition has been greatly simplified. We'll see if this
  58.     breaks anybody. It should be less demanding of ATAPI devices
  59.     now while still recognizing "no HW" correctly. The 2nd drive
  60.     battmem bit hack is no longer needed. There may be an
  61.     additional wait of ~1 second for the first try to access a non
  62.     existing ATA[PI] slave with certain master devices like e.g
  63.     a Mitsumi CDROM drive.
  64.     Froze 43.14.
  65.     The ATA[PI] HW recognition should now well handle
  66.         - bad ATA drives that mess up BSY on boot
  67.         - masters that don't handle non existing slaves well
  68.         - ATAPI devices that don't show up as ATAPI well
  69.         - darn slow HW without slowing down faster HW on reset
  70.     Froze 43.15.
  71.     ATAPI handling of MODE SENSE(6) and MODE SELECT(6) was fairly
  72.     warped. This should be much better now. With a little bit of
  73.     luck new ATAPI devices should be recognized and handled now ...
  74.     if READ CAPACITY works as expected. Unfortunately I don't have
  75.     a device to actually test this with. Froze 43.16.
  76.     HD_SCSICMD should now use the correct LUN on SCSIF_AUTOSENSE.
  77.     Bump for beta release. Froze 43.17.
  78.     A tiny little change to the WD-Chip reselection code. At worst
  79.     it does nothing, at best it helps by plugging a potential
  80.     timing hole. You can call this change experimental.
  81.     Highly unlikely that it has any effect.
  82.     I also reworked the ATA[PI] hardware recognition again. This is
  83.     an ugly subject and even with all the specs, I'd really need
  84.     tons of ATA[PI] HW to actually check this. Interesting
  85.     enough, the basic check for no HW as in use for a long time
  86.     isn't reliable according the specs. We keep using it anyway
  87.     due to lack of a much better method. We now have a three pass
  88.     HW recognition. The first pass probes if there is anything out
  89.     there that looks like reasonable HW registers of a device and
  90.     checks for spec'ed time until the device[s] out there are no
  91.     longer busy. It will accept an ATAPI sig. If this pass fails,
  92.     the device will not be instantiated. The second pass checks if
  93.     the registers are at all writeable and not just some bus in the
  94.     floating state. Units found will be marked for testing. The
  95.     third pass is done on device startup when the units are
  96.     accessed. Here, the units marked as possibly available will be
  97.     probed and identified by carefully sending appropriate commands
  98.     with timeout checks. Problems fixed now should be:
  99.         - masters that take seconds to start up with BSY for the
  100.           first time.
  101.         - ATA, ATA/ATAPI, ATAPI, ATAPI/ATAPI combinations.
  102.         - Failure to recognize certain harddrives.
  103.         - Drives that have problems handling the diagnostics
  104.           command.
  105.     ATA[PI] HW recognition is a major pain. The maximum wait is 31
  106.     seconds for !BSY and, for ATA stuff, another 30 seconds
  107.     paranoia for DRDY. Most drives are up after about 5 to 10
  108.     seconds most on initial power up. ATAPI devices are less of a
  109.     problem. This device will not yet differentiate between
  110.     different needed format commands for special ATAPI device
  111.     types. A SCSI Format CDB will be sent through as is. If you
  112.     don't know what you are doing, you may be out of luck.
  113.     TD_GETGEOMETRY should work now with both ATA[PI] devices where
  114.     applicable and flexible disks if possible, SCSI or whatever
  115.     else is supported. If 3D geometry values simply don't apply,
  116.     like on a CD-ROM, scsi.device used to return previous set dummy
  117.     defaults. It will try hard now return only those values that
  118.     make sense and it will no longer return stuff when no disk is
  119.     in the drive. This should help users of some of the common
  120.     removable drives out there. Froze 43.18.
  121.     On a SCSI sync setup (SDTR) message rejected by the target, the
  122.     WD code did not handle sync values for the unit correctly. It
  123.     did not reset to async transfer for the unit, but always for
  124.     unit 0. On an A3k with a reasonably modern HD, things may be
  125.     noticably faster for async transfers now due to a change in the
  126.     SCSI transfer timing that seems to be permissible. Let's see if
  127.     this shows problems with marginal cabling. Let me know if sync
  128.     on/off changes anything if you have problems now. It seems that
  129.     the WD chip/Philips CD writer problem with reselection can't be
  130.     fixed in SW.
  131.     The ATA[PI] hardware check code did not [de]select the drive
  132.     tested correctly after it finished. ATA[PI] hardware
  133.     recognition is still a pain. I wonder who breaks this time.
  134.     Bootup polling now works with 0.25 second intervalls, rather
  135.     than 1 second intervalls. Disk units can no longer be opened,
  136.     if the device is unable to determine *anything* reasonable
  137.     about their geometry. Finally, I gave up on "improving"
  138.     the existing ATA[PI] hardware recognition. I set it up from
  139.     scratch to establish a framework that may finally make it
  140.     possible to create something reliable. My new approach could
  141.     definitely fail in a few circumstances for a physcial device:
  142.         1. If it fails to intially set up registers and assert BSY
  143.            within a second after initial reset. Violates specs.
  144.         2. If it fails